package com.sharp.socket.io.constant;

/**
 * Title: ChatMessageConstant
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2020/9/22 16:12
 */
public class ChatMessageConstant {
    public static final String CHAT = "chat";
    public static final String SYS = "sys";
    public static final String CMD = "cmd";
    public static final String BROADCAST = "brd";
    public static final String RETRACT = "retract";

    public static final String UPLOAD_FILE_FOLD_NAME = "/customer-robot/live";

    /**
     * 已登录(->ALL)
     */
    public static final String SYS_LIVE_JOIN_ROOM_NOTIFY = "00";

    /**
     * 已经申请
     */
    public static final String SYS_LIVE_ALREADY_APPLY = "99";

    /**
     * 排队状态变化通知(->CUSTOMER)
     */
    public static final String SYS_LIVE_STATUS_NOTIFY = "01";
    /**
     * 排队成功(->CUSTOMER)
     */
    public static final String SYS_LIVE_IN_SERVICE_NOTIFY = "02";
    /**
     * 客服准备好(->CUSTOMER)
     */
    public static final String SYS_CUSTOMER_READY = "03";
    /**
     * 服务已开始(->SERVICE)
     */
    public static final String SYS_LIVE_SERVICE_START_NOTIFY = "04";
    /**
     * 服务已结束(->SERVICE)
     */
    public static final String SYS_LIVE_SERVICE_FINISH_NOTIFY = "05";
    /**
     * 服务邀评(->CUSTOMER)
     */
    public static final String SYS_CUSTOMER_INVITE_COMMENT = "06";
    /**
     * 客户退出(->SERVICE)
     */
    public static final String SYS_LIVE_EXIT = "07";
    /**
     * 踢除客户(->CUSTOMER)
     */
    public static final String SYS_CUSTOMER_KICK_OFF = "08";
    /**
     * 通知客服新客户申请
     */
    public static final String SYS_SERVICE_NEW_APPLY = "100";
    /**
     * 通知客服新客户申请超时,客户重新排队
     */
    public static final String SYS_SERVICE_NEW_APPLY_EXPIRED = "101";

    /**
     * 通知坐席状态变化
     */
    public static final String SYS_SERVICE_LINE_STATUS_CHANGE = "200";

    /**
     * 通知当前排队人数
     */
    public static final String SYS_SERVICE_INLINE_COUNT = "1000";

    /**
     * 系统命令已上线
     */
    public static final String CMD_LIVE_CONNECT_SUCCESS = "00";
    /**
     * 系统命令加入房间
     */
    public static final String CMD_LIVE_JOIN_ROOM = "01";
    /**
     * 系统命令退出房间
     */
    public static final String CMD_LIVE_LEAVE_ROOM = "02";
}
